Added ability to upload and retrieve images