Functionnal organization of complex behavioral processes