updated utils/restUtils/errors to be single-instance services, updated refs, docs