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