added variables, constructor and connection()
Merge branch 'master' of github.com:MrArtic/ktn2