Added Erase supports plus proper writing support
Added Erase and proper support for writing