Added tag field to game input, general code improvements