Configuration

Move the configuration (client-side) to constants, in the config method, at the top of app.js for easy configuration for consumers.