Get rid of the custom flexform and use hook and xclass to get pretty urls to work with switchableControllerAction