updated module class to allow loading of module layouts
updated module class to allow loading of module layouts