reorganizing bcg project code