Create class ws server