change BiViewer to output named tuple

changed from regular tuple to named tuple to make it easier to remember
which part is which.
still compatible with old code use