Use correct socket io and express objects for listening

app, server app app server server app app server app serv