Refaactored the base application to include custom built services splitting the twisted logic from the application logic