Simple task api in rails 4. This will be consumed by different front-ends