Improve config syntax

Also fixes #7, by adding a configuration