Added 3 gists

config.lua
database.lua
onKeyEvent.lua