pass hamiltonian class instead of member functions to HF solver...