I would like to override the entire page created by my custom module, I've used the hook_theme function but my template only affects the markup within the content region, I need to define the markup of the entire page inside the template file, including the header footer etc.
I know that this can be done in the theme but I need to to keep the template file within the module itself.