add environment processing and document support; Last commit before splitting to package
split apart to package; This should be dead now.