Added commenting to PopulationManager class

Also more work done for population implementation