Added basic record/playback, cannot yet playback events, but can record them