Made the debug state available inside the app for it to be used by gunicorn.
gunicorn configuration
Removed absolute_import, as it is not required