created connection class to the db-server