Add API controller to handle motion sensor samples