new nmapModel class with initial logic