Create new module/page

Hi.

How can I create a new module? I need to create a module that can keep pets (animals). With your information data and associate pets with a client or clients.

Is there any documentation for this?

Thank you.