added flow.rb
added content to flow.rb