Adding factory code to upload and download data, adding a PHP script to read/write data on the server, adding alert messages to inform user