finished most of the important tables in dbdoc