refactored tweetparser