remove classes related with DB connection