Global config

Fixes #58