Created plugins library, added load command which is now being used to load the plugins library, clean up code