start rewrite app component