new fcns (incomplete): readData, writeData

new fcns: readData, writeData. they are incomplete, just commiting to
have a code backup while traveling.