add base request class to upload images