Add command line interface

There was a simple command line interface added. This interface
provides options to display help, show the HRM data as ascii and to
redirect the output to a file