Created the 3 functions (upload, download and list) for the photos