move cms plugin out of core