Added simple API controller.