Add rudimentary command-line interface