Start of environment class.