Moving @pictures in pricture_controller.rb into database
Refactoring to save new pictures in database