Create genericService.js

Initial commit