Configuration cleanup

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | ?
| Fixed tickets | #51
| License       | MIT
| Doc PR        | TODO

This depends on #52 to be merged first.