Added use of parameters on exec
Added flush function to remove all documents in db
Coded the write functions to add to the dbs
Added the file to handle the write test.