Rafactored PicturesController