Module - Import monitoring controller into own module

i have always made my own monitoring-status frontend with a customized view. My first one with direct access to the db and my second one is based in the icinga2 API. But now i want do write a module for icingaweb2. I see that some modules use a own ido backend and some uses the monitoring controller backend. i did not find a stating point to include the monitoring controller into my own module. Can somebody provide me a example to load a prefiltered list of services so that i can display this as a table.

Regards Marco