Improve the pluginmanager

Documantation updated: