Conversion to CodeIgniter complete