split source files, and use unit subdirectory