Abstract config object

- Fixes #12