Quantum Systems of Selfgravitating Bosons and Fermions