Create templates.class.php

engine/classes/templates.class.php