Commit first patch set by me
Initial fork from https://sourceforge.net/projects/gocontactsync/