Introduce new configuration format, usage and add tests.