Add functionality and views for uploading and showing photos.