Added some mock classes to test the main logic as a unit test.
Added the unit test for main logic.
Added a class to strip the byte order mark from the front of xml files
if it is there (otherwise the xml fails to load)