You can use CommandManager.registerCommand without needing to put the main class of your plugin in every time. All you have to do is set the main plugin by going into your main class and adding on the onEnable method CommandManager.registerMain(this)