Add command tool: defaultedit and genpolicy