fix/improve 'random' command, add 'all' command
add basic generator facility