new plugin manager method register component
remove old methods
Use new app api in server.py