restucture conf a bit, and rework the plugin management