Replace socket io init from app.js to routes