[JWA] added some cool features from examples to couchDB;