Moved all template files for apps
renamed template files from php to phtml
Renamed rest of the template files from .php to .phtml.