Basic implementation of a sharejs server