Refactored the commandbus to automatically expand commanddata to 8 bytes