Customize boilerplate code to work correctly (require library I'm
writing), module->class, implement normalize_base_hostname