refactor, allow data fusion to run as standalone