Refactor scan: move all API responsability to clo_scan_abstract