Fully functional uploading functionality added