Generic import framework