added image uploading with paperclip. Changed the neccesary views accordingly