Add sqlite database

Adds a sqlite database
it raises an exception. KeyError