SRC: Basic game structure and state machine