command line interface including help menu and piping, this enabled a slimmer code for the acutal conversion