Updated the environment class to enable application specific environment configuration, also updated the http class to set response codes.