Major refactoring of the modcode. Split the game into client/server a little bit better.