removed PDFDoc model. Updated routes.js accordingly. Fixed socket.io on client side