Parameterized KeyValueStore and removed DocumentStore

Made changes to Db interfaces and deleted document store which was checked in by mistake.