First serious work on ripte. Added two functions to process a template and return the result in php or html. For now they only get the template name and the (configurable) base directory and create the full file path.