Made the application into a singleton