Fix bug when flowrules time out. Add comments.
Remove commented-out code.
Implement simplest possible part3 solution.
Add comment.
Remove comments.
Remove comments.
Remove incorrect argument.
Add dynamic and static controllers for part3.