Added contacts.py for Contacts API. implemented log_contact()