Cleaned up code, changed error behvoirs and changed encryption on datastore kvlite wrapper.