Began working version. Started code modifications to allow an upload path to be specified rather than rely on the path specified by the server $_SERVER['SCRIPT_FILENAME'] .
Added gitignore file too.