Decouple exec from modules.
Merge pull request #3 from Impromptu/koop-exec

Decouple exec from modules.