Adds upload.php and initial logic