Bulk insert method of classes