Set up controllers and views