started implementing server communication