Better organization of the code in the FeedClient class. Moved some code to separate functions.