improvements in exceptions handling, filename generation, request validating. Changed upload url to "/upload"