modified the csv metrics format and changed the CmdMain in order to deal with the -o command line option. Related to #10