Improve exports and configuration

Fixes #31