simplify the structure of bdg program (note: the bdg_cbv.f90 may have problem)