added network.js to handle the upload
turned record into a multi-step promise.
reduced the ready time to 1s, appended link to the image