Adds 'create' and 'delete' environment functions. Fixes documentation bugs.