Added Makefile and fixed xml processing. Need to fix path to format.xml file
to point to Data directory instead of main directory (TODO).