Configuration variables

Support load configuration from app.py and from environment variable.
Added run on prod mode.