add class about connect with DB