Hotfix/move closures

Moved config (closures only) to Module because of issue #8.