Add motion detection;
Add timer