Some refactoring for better readability. Added comments.
Some refactoring for better readability. Added comments.

moorehojer/YAFNET,mexxanit/YAFNET,YAFNET/YAFNET,YAFNET/YAFNET,Pathfinder-Fr/YAFNET,Pathfinder-Fr/YAFNET,YAFNET/YAFNET,mexxanit/YAFNET,YAFNET/YAFNET,moorehojer/YAFNET,mexxanit/YAFNET,Pathfinder-Fr/YAFNET,moorehojer/YAFNET