Create rsServiceFactory.js