create api controller and rabl responses