minor refactoring
server is now an actor
added connection actor