More on scat

Need to finish writing the readInto and writeResult methods.