Put gamestate.java in a folder in the eclipse project.