finished up needed functionality for gametypes and added tests.