Improve configuration by subclassing the default environment and remove the dependency on flask-appconfig.