fix bugs for Event and View,add Multipart class for upload files