added some command line parsing, new options, put convertsecs into a common file