Gets controller working and centers it in the view.