App with custom layout template

Hi everyone !
I preapre to write my first NextCloud App.
I need it can change default layout of NextCloud. Example customize or remove header bar.
How can i do it ?
Thanks

Add JavaScript to all pages in your appinfo/app.php by using OCP\Util::addScript(‘appid’, ‘script.js’)