Added Motion Tracking

Basically the last 9 hours, in code form.