Draft: Rework configuration parser
- Refactor the configuration parser to be more flexible and less hard-coded
- Don’t install the example configuration file by default
- Parse configuration from environment
- Add tests for the configuration parser
Depends on !24 (merged) and !23 (merged).