updates to motioncontroller file, succesfully broadcasted movement data to front-end