add clas for file upload and curl posting to remote server