Made the app configurable with environment variables.