Delete api.rb, and add FactoryGirl