Moved factories.rb to support folder