Generator: Bugfixed default vendor profiles and replaced raw pointers by shared_ptr