magento 2 is it good idea to create many modules? code example
Example: register module in magento 2
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'MyModule_Condition',
__DIR__
);