Fixed Single byte writing
Reorganized the MemoryReader