Configure carrierwave and create photos model