Fix typo
Factor db connection info out to a config.py
drop databse if exists
Merge pull request #1 from luser/hacking

A few changes