Partially implement game input handling (so far, recording is not implemented); also implement the input phase and beginning phase so far