Adding markdown template engine. Fixes #23