adding player object and connecting to server
creating  terminal