Rest url handling.
Added rest stubs.