clean main function
improving main & add a verbose option