Code cleanup.
Adds the "flood" example.
This should take care of #167.