added image magik gem to create thum nails and resize images