Looping for more results from twitter and some more refactoring