Command line support

Issue #23