Fixed connectDB()
Merge pull request #1 from Roemerb/master

Added connectDB and several small changes