Added xml parsing for settings