refactored package for flows example
added flows to flows example