Modified dynamic router to use new ContentRepository