Added argument parsing to phlearn.py
Changed variable names accordingly
Eliminated obsolete TODOs
Moved comments