Added factories.rb

Added