[PD] 'apple' lib for controlling hardware and getting sensor data