Moved nmap code to it's own moudle