refactored command line argument processing
Added common duration for all the tasks. Also provided manual tests in main.cs