Put 'Page.php' and 'BasePage.php' in 'Pages/' folder.