Custom Module with data inside

I want to add a new module to the crm, but I want it to have initial data inside.
Where is the proper place to add the code to do it, like after_module_installed ?
btw, can/how a logic hook code be added to module package?

Please check package details here for how to add logic hooks to package.

You can use post_install to run script/query after the package installs and pre_uninstall to revert your changes.