Adding basic server & client code