Refactoring twitterGetTweetsServlet by adding new factory for tweets