fix show, list and remove. Add code to write records to disk, reorganize main to allow code re-use in other clients, add error checking to arg processing
fix show, list and remove. Add code to write records to disk, reorganize main to allow code re-use in other clients, add error checking to arg processing

yippeecw/sfa,yippeecw/sfa,yippeecw/sfa,onelab-eu/sfa,onelab-eu/sfa,onelab-eu/sfa