Starting to work on the command line interface. Using code from golang source as an example.