Moved files and Refactored P27.py