Got the beginnings of write to work
Added append and resize functionality for growth but not for shrinking.
Fixed a REALLY stupid bug with allocation...