Put, get and create couch database in, needs some unit tests now.