improve routes mapping,change view engine(swig to ejs)