Fixed Plugin Loader

Fixed the plugin loader. While this code compiles and runs, it does not do anything with any of the plugin's features.