Initial version of auto-detect script
Version and mpi cleanup
Remove obsolete detect module