I have plans to start a similar project, but this brilliant gentleman beat me to it. His github is here:

https://github.com/arcbtc/bitcoinSwitch