Added 'databaseName' to ConsoleEvent.json and renamed 'id' to 'applicationName'

Removed unused code