basic templates and router complete