Stub slack handler
Put some protection around slack handler
Refactor Slack functions
Allow registering of slack message handlers