添加detect_cpu_count函数；调整al目录结构