Remove static references

This removes any static references to the main class and removes static methods from the main class, instead passing the instance of the plugin through the constructors for CommandExecutors and Listeners (as is good practice.)