Improveiment the mainapp from first program

It's was add some outputs and now is easier
to change the execution params. Find the section
   /*
   * Set up the execution params
   */