built controller and view out with proper separation. tests for controller broken and new tests needed for view and controller