Fixes print out for reads and write.
Adds function prototypes.
Sets the log level with the verbose flag.
Fixes time conversion when setting time.  Fixes issue #1.