fix bugs in testing USB installationi (mainly findrmdev.js).

move src -> overlay
add more auto-build scripts