Initial development of php module for templates.