added command line parser http://www.ndesk.org/Options