Add a command line flag to set the flushDaemon interval.
Add Tag type and NewTag and NewTagWriter.