moved old modules to archive and modified phase1.py