TODO: the fluid kernel architecture needs to be documented in the wiki. In the meantime, you can read the paper.