Added Comments

Added comments explaining workflow process
Revised order of code