Refactored parsing arguments and parsing the feed into separate files.