database connection Class finished