refacotirng routes and controllers,
adding socket.io functionallity