train.cc now uses Tagger. Added a new constructor to Tagger. Added check functions for streams to io