fixed some issues.

I've elaborated on some topics, like plugin system, and namespaces. Also, I've added a direct links to modules, so one can look at the code in parallel to reading.
I've split plugin system specific things into a separate aside.