add a function to add code fragment and categorize it based on whether it is ghost or not
update the call of the constructor for DBCodeFragment
update constructor calls for DBCodeFragment
update constructor calls for DBCodeFragment in CodeFragmentMappingHelper