Reconstruct the code, bind file system tree's event and editor' handler in main.js