Add feedback within the DB creation script
Tidyups from pyflakes
Make the sqlite helpers able to use a different DB