Move all the bootstrapping into AppView
Move tests related to bootstrapping into app-view spec