Replaced json config file with xml, added default content to it, completed main.cpp