I would recommend to use an existing control system. Could be a commercial one (FAST or P/P3-Roc) or a DIY one (OPP, Lisy or APC). If you want to use MPF there is an overview here: https://docs.missionpinball.org/en/dev/hardware/index.html. If you want to program on an Arduino APC might be a good solution for you.
Jan