added ScanResult class to pass result objects easily