Continue development of services.js

now with event handling and service isolating implemented