adding routes and logic for flow support
added private methods for getting collection and collection content
changed route from get to post for dropbox flow
Added edit-flow logic
commented out req.query
pdf support