created pictures in seeds.rb, ran seeds.rb with rake db:seed
and accessed the picture model in the controller