added template_interface.class.php