Added slack_api class and extracted message to its own sub-method