Change template engine to ejs-locals, refactor routes