Feature/cumulative flow diagrams

Use nested module/class definitions instead of compact style.<br>Missing top-level class documentation comment.