Code cleaning
Added support for PHTML content
Added template list