Added kernel lib
with simple template engine class.