Refactor for page controller

created page father controller, other page controller as child,
reorganized functions.