server mostly complete

server functionality mostly complete, only requires endgame at this
point. added in all game logic otherwise.