added contact.py and associated example