Move backend selection to backends package