Modernizing the core quantum chemistry algorithms