Thin framework to provide and consume REST services