main.cpp: basic arg parsing
Moved XML work to 'config' folder