Update Controller/Component/UploadComponent.php

Added constructor and member associated member vars.