Rewrite import functions to use BBDB's external interface