initial draft of controller and plugin loader finished