move directory templates and change routers.js