More server code

Lots of code, but we're approaching the point where model-specific code
comes into play. I may go back to the sound engine first.