Redesigns the code to feet with Joomla directory structure