Added first cut of plugin manager to code.