Change database connection style
Add basic dump location constant
Ugly database dump, but it works!