- added encounter service
- implemented encounter service
- changed structure of encService
- small tweak to code style