Added Model classes. Updated Rakefiles. Updated Gemfile.