allocating the DB folder/file and setting up the database should be factored out in methods