Initial read and write functions
Adds simple test file
Basic read and write seem to be working.