add GameplayState class and CreditsState class