Moved configuration settings into a global object, instead of using the express app (which is not global)