You can copy the code from the modules into your code and not use the module. (If you do so, please respect the copyrights that may be on said modules.)
Personally I would see no good reason to avoid using modules for this problem if the modules work.