dbhandle class defenition