Half working version with BeacsonScanService