Move definition of FlowRequest to its own package. Move utility method
to package.
Move upload out of ws package and into its own packages. Updates from
other refactors such as moving FlowRequest to flow.Request.