[RFC] naming and API signature for external compilation

@Leo-arm make sense. Let’s have the the consensus on the naming and the API first. We will have follow up discussions/PRs to consolidate partitioning.