Aspect-oriented programming (AOP) is a popular approach to handle cross-cutting concerns in an application. Common examples of cross-cutting functionality are
Adafruit develops nice wearable devices. Flora is one of their popular Arduino wearable modules. I stitched together the Flora module, Accelerometer/Compass