Removed applog files. Changed detail_types table (renders with codeigniter Table helper now). Remove view code from model.