Device motion detection test. To be uploaded to heroku