add journal.py and related file