add paperclip gem and implement function to add images