Beatifulizing app.js and fixing routes.