Add support for an SQLite database.
Few modification
Merge pull request #4 from shamsan/feature/pure-db

Feature/pure db