Fix imports and new control panel based in plone.directives