A re-imagining of the low-level Lego Mindstorms NXT library for Bluetooth