A lightweight template class for PHP applications