added interface for elements. fixed .php -> .phtml ext for templates in readme