documentation for motion part added. Documentation finished.