Moved function

parsing command line args is part of main.go.