Cleaned up some codes and comments.
Moved docstring comments back to within methods, per spec.
Merge pull request #1 from thecosmicfrog/master

Cleaned up some code and comments.