Added demo events is json files, started modifying tables to store keystrokes as json-encoded strings for better performance