renaming to avoid clashes
renaming for more consistency
changed CHECK macro polarity
started stream implementation
moved CHECK macro to util.h
continued development of buffered file stream