Added command line params support
Added sample.cmd