add client module with templates and events hash