Split bc_data.pl and bc_api.pl