uploader class in separate file