added newer module pattern template

This new template allows variables and methods to be private or public based on demand.