updating the page generator and base view to work with razor helper functions

@NTaylorMullen 
Scratch that, I see why. Nm about this.