added db scraping script and added some helper methods to twitterMine