Initial pluginmanager commit

Makefile needs to be fixed and pluginmanager stuff added to config