Issue 2 : Add simple templates. Contributed by Chochos
Make work with M6, still using the java based reflection