separate rest from remote in exposed services