Backend for the upload webapp.