Merge pull request #2 from ShanaTsunTsunLove/test

merge from test
change import
fix function args
introduce argparse func
temporarily bring back getopt
Merge branch 'master' into arg
remove optparse argument processing
get rid of -b
pull in parser functions into decode
remove no longer used parser functions
stop supporting old Python versions