improved server design, added gameserver stuff, improved tests