Moved the service handling to a separate class
Began with a chatserver, created model and impl