Fix syntax warning.
Use repository as singleton, to eventually use dependency injection.
Save TreeBuilder as field.
Remove some checked exceptions.
Support parent configuration.
Spike loading configuration from json file.