Commented and re organized.

Planning for future functions and editions are at the bottom of the code
Merge pull request #6 from AnonPower/patch-1

Commented and re organized.