Add basic event listeners and migrations

Signed-off-by: crynobone <crynobone@gmail.com>