clean up controller and view code