Added environment class methods
added algorithm methods