Added RABL for templating and changed controller endpoints to instance vars