Update lib Template, add methods for theme path and uri