refactor page file classes
refactor page file classes