Update for silverstripe 3.1. Set vars to private, move config into yaml.