declare Pwgen as a module
remove main-method from Pwgen.
add argument handler (and new main)