* initial commit of db class