Added views and custom codeigniter class