rename ServerResource to Resource