Recreated services.js