split server from REST service