How does RedM add mods like FiveM

How does RedM add mods like FiveM

Same exact way?
add a resource make a manifest and add it to the start?

Such as adding houses and villa mods