Refactored documents controller
Removed comment
Refactored exports controller