Simple way to create template engine in php