Added tests. Add a functional auto-route to templates
fix on gitignore paths