Support for SQLIte and Using it internally.

Support for SQLIte and Using it internally instead of local file system