better asserts in doctests. using more list comprehensions. Fixed lots of documentation and readability issues
Put qreq_ as the first paramater in most pipeline functions