add contacts.py and log.py