Started modifying constructor of class environment.

Compiling with two errors at the moment.