refactoring; use logfile; gitignore logfile; tabs to spaces; get events from rabbitmq instead of zulip (debug only, messy)