Update how application is configured.

Use environment variables to configure the application.