cleaning up some code so that you dont need to have templates associated with an environment if you dont want to. also added some helper functions for doing things with the dom.
cleaning up some code so that you dont need to have templates associated with an environment if you dont want to. also added some helper functions for doing things with the dom.

graham/genie,graham/genie