Moved secret key out of settings file.
Added first draft of Apache config file for UpLoad.
Integrated code from old UpLoad script and improved error handling and other things.