change extension from html to php
change files to use template engine