Write the tutorial controller and views