change index for new file dirs
reorganize the src files