Added implementation of frame to model addition based on movement detection (not fully functional yet).