First draft for PHP template engine