update default params and add version option
reset version to next release 1.0.0
refactor script to be more readable
support yaml as input file
make sure yaml support outputs the same as json