WIP replace the scanner, and stop using intents for communication