Successfully integrated the motion sensor from pierre last commit with
the server.

Signed-off-by: haydar9 <haydar.issa@carleton.ca>