clean up creation of an environment
support multiple renderers... large rewrite
update docs slightly