Add BaseExercise and BasePage, change the structure.