done with socket io, not yet tested
remove unused dependencies