Filled up the createContact function in the connector. Not yet tested ... just a code dump for future remote access.