Added the first parts of the plugin manager