Properly waiting for URI file creation.
Adding support for persistent database.
Adding CouchDB database creation.
Renaming classes to be consistent with CouchDB name.