Now cleaning old scanned ips.
Made some state methods private