Further separate code into distinct functions
Wait for results from Twitter asynchronously

This closes gh-41.