public void serverConnect(){
		try{

			isServer = true;
			Connector obj = new Connector(boardModel, tacToe);
			serverSide = (ConnectorInterface) UnicastRemoteObject.exportObject(obj, 0); 
			serverSide.sendMessage("x er dum");			
			Registry reg = LocateRegistry.createRegistry(3050);
			reg.rebind("Hello", serverSide);

			
			System.out.println("Server ready");
		}catch(Exception e) {
			isServer = false;
			System.err.println("Something wrong with the server " + e.getMessage());
		}
		
	}