refactored to use botty library. much stuff commented out for now.