Changed to use a file based db rather than an in memory db
added database