Still working on code quality

Going to move a good chunk of message handling code out of the
ServerCore. Nothing fancy, just trying to reduce the ugliness.