Allow module to be accessed via CLI

Closes #1