refactor(*) Move resourcePath logic to base class, call resourceUrl