added sendgrid factory class
renamed sendgrid for factory use