make control-panel a plugin