Conflict detection and resolution system architecture for unmanned aerial vehicles in civil airspace