More comments and small refactoring, pt2

Moved and commented the extension methods to their own files.
Removed the Perk.FromNode method and replaced its occurrences with the
appropriate extension method.