added java for uploading and browsing pics