I was under the impression you wanted to use monome (serialosc) apps with your custom midi controller… if so, my above suggested approach should be the easiest. no need to reinvent the wheel . serialosc isn’t so accessible for non monome devices. if I misunderstood, please ignore 
edit: if all you want to do is interfacing with the launchpad in BEAP, skip serialosc and use midi directly