Adding basic upload functionality