Added Environment class

This simply wraps the list structure used previously, and includes
methods: add, lookup and set.