View and controller

read/review our code for view and controller