Implements handling of multiple files on submit

/api/files/upload/:compId - returns id of uploaded file
/api/files/send/:compId - accepts file ids to be uploaded

Also organizes code into modules