Add resource service, move known entity helpers into separate classes