Move @pictures in pictures_controller.rb into database
Refactor to save new pictures in database