add skeleton code for API service