Feature/cli

Closes #7.