Added SQLite testcode.
Added Database code