added start of gametypes functionality. will only implement what is needed for the erlang server.