added ability to parse the moduleId and name from the route