Laget configfil. Fixes #21. Fixes #11.