Uploading class and example