Create environment class.