Put MPU6050 in hardware namespace, clean up of main loop.