Setup Pages Controller and Root Dir