Implementing the API mapper framework