move ir/ into scratch/ where it belongs
move source files into src/