move some struture from bee.h to bee_internal.h