REST Logic Decoupled