Wired up everything between the different views.