write all controller and all index and show views