Sort script files into a few common directories, removing flat structure