Add : Factorize the icp function example_main, for create icp-lib.