Removing app specific code
Cleaning up logging middleware