CodeIgniter Template Class