refactor appCtrl
refactor projects pages