Match module structure and directory structure