fixing unit test for bad data
database creation SQL
sample app settings file
making things more pep 8