Work in progress, very basic reader and writer works