Refactor: move upload thread to its class was in controller before
Patch: Upload of file metadata is now available