split out config defaults, allow read from xml