- add server.conf
- refactor service code