Towards optimal mean field theory of electronic structure, beyond Kohn-Sham DFT and Hartree-Fock