Converted the two-dimensional IP vector to an one-dimensional vector of structs, added a method to periodically check the timestamps for timeouts