Theorectical studies of electronic structure and spectra of molecules by semi-empirical and ab inito methods and didactical treatment of some Quantum mechanical problems