Working uploader server. Tests and docs to follow.