setup plugin interface and sockjs server