Refactored the file mappings into a standalone class to better organize
and structure the code. Then started switching over to lxml for handling
XML files.