Finished pllugins system. Needs all features moved into plugins and some clean up