Cleaned up plugins a bit.
Added automatic installation of plugins.