moved UploadHandler class to seperate file, more granular exceptions
added output of backtrace on general exceptions