Added custom methods and default method overrides to the module framework. Fixed issues with template loading.