Error fix: setRedirect updated to setRedirectUrl.
Plugin manager, interface and base class added for the custom plugin type defined.