Appia: crypto agnostic software for any automated payment machine