vpopmaild: consolidated config loading logic into register()

with a callback