added module pattern template snippet