made several design changes, also the logic for uploading prodclass