first version, Add common.h and  DTrie