Add: Working read and write functionality (sort of)

Unstable but working.