move peripheral scripts to ./scripts, generated files to ./build