bemhtml-like template engine. (Just for fun)