Reorganize file layout for Dagon HEAD