add api_helpers.

Add ApiHelper and refactor Apis.