Implemented simple connection to Server