Got page controller working and init vars (kinda)