Swatify PHP API, using Kohana 3.3