Change has_visited to uint8_t

Since it is a boolean value we don't need all of that storage.
Removed relay code

We are no longer using the relay so remove the code for it.