Initial code to read configuration from yaml files. This is pretty much a 1:1 mapping with the xml one. Added jsr-303 validation for good measure