Feature/config file

Fixes #22