created intermediate abstract model OpenCongressModel and changed models to inherit from that instead of ActiveRecord::Base. Search controller refactoring