Add sqlite database

Adds a sqlite database
Does this session need to be closed? Or does commit close it too?