Complete the first stage below. Document upload and review are supported in the production-ready structure.