more refactoring
implemented basic multi game in tcp server