working version 0.3 which includes couchbase port of the system for replication and offline support