adds pages controller for non-app pages
removes static index.html