Getting closer to a working server.

Still plenty of work to do before it's ready.