Implement internal datastore operations

Post, put, get, and erase.
Not the one exposed to Query Engine, this is the internal implementation that will be writing and loading to the xml file directly.
For #89 
well, all names should be spelt out. this helps whoever is reading the code in future.