refs #5 Define accel, gyro, system types in platform config.
refs #5 Move platform-specific code out of main.

Macro definitions, though. Ugh.