database connection; design data model; implemented rspec and FactoryGirl