Move DynamicPageList class into classes folder and name class correctly.