Seperate application definition and express configuration

* Moved app middle ware configuration into config/express, this is then initialised with routes in app.js.
* Updated config modules exporting all code to define once and export 
* Re factored imports and removed redundant code