adding comments to phase1.py and implemented options module interface