Create transaction.py