Enhance getPage in PageFactory

New PR to develop instead of master see #89.

Closes #12 
Move this method declaration right after constructor, because there it's called the first time.