Removed testmain, added server to client functionality, removed team comparator