moved the redis code entirely into uploader to make server more concise