factor out data Resource into new module Adhocracy.Resource.