added environment and players class