finish removing rest_api from service loading

reason: rest_api will only be necessary for the views