Add sqlite database

Adds a sqlite database
For each TODO checked in, make a corresponding issue describing exactly what you mean is to be done. Refer to the issue number in the TODO comment.