add client and server function calltree, dbstructure