Partial implementation of POST for Environment

Submitted a partial implementation of the POST action for the
Environments Controller.