Add license.
Add hint.
Fix merge conf algorithm.
Add unit tests.
Rename func.