Moved StateNeighbor implementation into separate methods, add a call to StateNeighbor class into TesterClass as a load function