Initial version of file upload page, plus a few page API changes