added code for a target motion operation, modified the checkOperationEnd to return a percentage of the operation progress instead of a boolean