Added pages controller
Modified .gitignore