added main command file with option parser