make apiRoot it's own service