Finished up some of the criteria and the result set, working on the actual activerecord class now