Config in extra file

Solves #30