build: add logging and config dependencies
config: replace custom config objects with typesafe config
logging: replace println with logging
database: re-create tables after dropping them
refactoring of event and subscriber names