I want to add this into my favorite mod. Does anybody have a tutorial for it or something?
Your "favorite mod" needs to be open source and have the module system available for download.
If that's the case, head to The Forge (board lower on the main forum page) and read some of the Module System Documentation to learn how to compile the module system source code into the game-read .txt files.
If you get a handle on that, then get Freelancer's kit and copy it into your target mod's module system, then run the modmerger_install file, and finally compile as usual. That last may not make any sense at the moment, but it should after going through the basic tutorials.