Using Hooks insleat of extending template
Updated readme