Add database connection code
Merge branch 'master' of https://github.com/Crashthatch/bathalerts