Adding template support, working on JS/CSS integration