remove RendererSelector reference from App.
fix typo.
remove unused code.
rename core to shared.
change sub application scope.
cleanup.
adjust sample codes.