Removed disgusting MainApplication class and unified service connections