work on making models use activerecord conventions