refactor(enhancePage): separate constructor

to outer file

time: 0h:15