Included motion detect clases and local FPS calculation