adds controllers and views