removing unnessesary includes
destructor bugfix
adding debug options
testing connection class