Setup client server communication and more functionalities on server side