magento2.4 – How to create a module without a controller in magento 2?

http://localhost/magento/pulsestorm_todocrud/
getting Whoops, our bad... error

Pulsestorm/ToDoCrud/Block/Main.php

namespace PulsestormToDoCrudBlock;
use MagentoFrameworkViewElementTemplate;

class Main extends Template
{
    protected function _prepareLayout()
    {

    }
}

Pulsestorm/ToDoCrud/etc/frontend/routes.xml

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../lib/internal/Magento/Framework/App/etc/routes.xsd">
    <router id="standard">
        <route id="pulsestorm_todocrud" frontName="pulsestorm_todocrud">
            <module name="Pulsestorm_ToDoCrud" />
        </route>
    </router>
</config>

Pulsestorm/ToDoCrud/view/frontend/layout/pulsestorm_todocrud_index_index

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceContainer name="content">
            <block class="PulsestormToDoCrudBlockMain" name="contactForm" template="Pulsestorm_ToDoCrud::content.phtml"></block>
        </referenceContainer>
    </body>
</page>

Pulsestorm/ToDoCrud//view/frontend/templates/content.phtml

<h1>Hello World</h1>