renamed DealerFactory.js to Dealer.js