Finished refactoring, added Slack integration