command line arguments parsing moved to separate module