WIP: initial version of uploader