classes to ease codeigniter development