Create refactory.py