Fix JDBC connection problem
Remove unused imports and methods
Change constructor visibility to private
Fix typo in query creation