added a couple of classes for the server. intellij says they won't compile, I'm gonna try anyway