Moved some files and added state to be able to end a game