improve demo code, improve TweetQuote by adding return types to a few functions