[frontend] Reorganize.
[frontend] Modify scripts, back up old version.