finished renaming bap_core to bap.

Renamed all occurrences of bap_core to bap.