Moved functions into a class so they can all use connection manager
Used print() syntax from python3
Merge pull request #3 from TobiasAAM/master

Moved functions into a class so they can all use connection manager