Move to src/main/java.
Switch handling of config to one that writes defaults.