Added upload in web page plus many other changes.