add functions for partb
changed index.jsp to upload.jsp
Can create a xml metadata file
can now append to xml elements