add the socket io and the notifiaitons . Also huge refactoring of the applicetion