Create streamwriter.cpp