Broke out ScanController class