rewrite director$resource
introduce root() accessor
throw away parser arguments for now -- later, provide dynamic injection