options interface change,

more resonable options array
a mature sample pwdgen: dict