Change structure of environment into separate variables and functions
Change structure of environment into separate variables and functions

This gives us more control over the environment and makes it easier to
work with it. Also each branch is now an orddict, easier to use and
more efficient.

lfe/lfe,lfe/lfe,jjhoo/lfe,rvirding/lfe,rvirding/lfe,jjhoo/lfe