Setup the main view and the sub view controllers