PlayState and StateController refactoring into classes.
PlayState and StateController refactoring into classes.