add Environment class