added Environment; consolidate HTTP request handling
bump version