Create API controller