Create motion

saving the spark core code for the motion detector project