update apperance framework, now finally support multiple main views