We have a contact table with almost all the fields in vCard standart but we need to extend the vCard Format using groups and some flags for each contact(type of contact, if is a provider or a customer, etc)
So the program must take the info in the table of contacts(the name of the table most be custumizable, becose is not a table is a view) and:
1 Show me the contact info(including custom fields, and the agroupation fields this vcard wil be named "**enhanced vcard**", if is requested, if not make a standart vcard)
2 generate a vCard with this data and exported to a file
3 parse this vcard for import into a table, the name of the table is custom too(the regular and the enhanced one)
Regards!