Add basic CLI. Closes #7.