Use asmtypes fileinfo, cleanup
Add --pair_url and --single_url support