moved the create functions in the Environment class.