Added script that automatically executes all the tests
Completely reengineered the netInterface for a much more intuitive implementation. Modifications on the state machine. Tests modified accordingly