add AppView and HeaderView