huge changes: replace Datamaper ORM with Codeigniter Active Record