Codecleaning in tweetfrequencycollection