fix bugs
move into 4 folders
fix beam has not been assigned Sorry, i forgot to make two different changes, and now I has correct one of them.