Refactor Pictures#create, pushing code to Pictures model.