Added ping scan and highlighting for active machines.

Completed Socket communication and ping scan. Added callbacks for cleaner code structure.