Moving @pictures in pictures_controller.rb into database
Refactroing to save new pictures in database