Add templates for cpp

Change-Id: I050ca654a06a17f1028bb7c367e3a6606e544267
Reduce logging category

Change-Id: Ifee36e91d1a0ebd7046d6d88eca03251e257af74