Put connection function in new file.
Fix capitalization problem in DB name.
Merge pull request #24 from jhorbulyk/Jacob-GlobalConnectFunction

Put connection function in new file. Looks fine.