Basic read and write working. Should test edge cases.