Initial REST layer with sample pattern api usage