Added CLI support.

Closes #7.