binary-output first tests
add minutes and hours to duration
option to write binary files
merged branch 'binary-output'