refactor lsu_provider as a generic XML-based provider