Create phase.py