Refactored new.html to use ruby
created Picture model in db