added pluggable DB layer
added pluggable DB layer