Environment configuration based on environment variables

12factor configuration support. Necessary for upcoming PaaS deployment support PR