[TASK] Refactor extension upload controller