Made uploader configurable, this way is trivial to change it for testing