Convert hash to command line options
Added documentation
Version bump to 0.6.40