add json file and rewrite app for MVC