reorganizing routes and wiring up file upload piece