Move Page initialization code into the models file
Remove two unused imports