Unifies code between show_patterns.py and run_bot.py

Fixes #10
Updates README to show required config values for API usage