made fetch-tweets and main more readable