refactoring started for page object factory pattern.