I mean submodules, so for example I would like to make (Comments Module) which must encapsulate everything related to comments system and be reusable, so inside this module I need 2 submodules:
1- Frontend that I may want it to render or return HTML or JSON
2- Backend where the comments manager will access as a tool to manage users comments.
So anytime I can use this ready modular system in any other application.