Added unit test to add to an existing file and save to disk
Cleaned up code and implented writer callbacks
Testing reader callbacks now