New main argv feature and profiling notebook add

Hi lost,
  please merge it to your code