Create gamestate.cpp