Created pages controller and index view for root.