Applying Singleton pattern to controllers.