added singleton pattern for direct access the controller without config.