changed style and changed checker mechanism to use websockets