Defining a simple template for module pattern