Added support for Slack messages. Moved some utility functions into app/util.py.