- Moved templates to their own directory.
- Added comments inside ruby scripts.
- Minor cleanup.