refactored motion commands to be non blocking(implemented timeslicing)