changed port used for network testing
added fields for currentAction and currentDirection.