Change structure of CMS and remove both Smarty and Pear modules