Work in progress, very basic reader and writer works. added write all to writer