Sqlite from config

Fixes #32 as requested in comments from #35