wrote basic framework for Twitter bot