add db connect class