1. A method for connecting an impaired nervous system of a patient to a destination target, said method comprising: a command module sampling analog electrical neural signals over time at a sampling period, said neural signals having been generated by neurons or nerve fibers of the patient and having been sampled at each spatial location of a plurality of spatial locations within the patient's body, said command module being a first device implanted within the patient's body; said command module processing the sampled analog electrical neural signals to generate digital data specific to the spatial locations; said command module using a sliding window process to generate a sliding window which advances in time in step with the sampling period, said sliding window having a sliding window time duration that exceeds the sampling period, said sliding window encompassing the digital data over the sliding window time duration; said command module processing the digital data in the sliding window to generate a window matrix, each element of the window matrix comprising parameters relating to electrical spiking/discharge activity at the spatial locations over the sliding window time duration; said command module matching the parameters in the window matrix to stored information in source movement templates to generate at least one high-level movement command relating to electrically activating the destination target, said destination target being a muscle of the patient, a group of muscles of the patient, or a robotic device; wirelessly transmitting the at least one high-level movement command to at least one driver module at a command transmission interval of time that exceeds the sampling period and is less than the sliding window time duration, said at least one driver module being at least one second device implanted within the patient's body and attached to the destination target; said at least one driver module matching the at least one high-level movement command to destination movement templates to generate at least one digital stimulus; said at least one driver module translating the at least one digital stimulus into at least one electrical stimulus; said at least one driver module applying the at least one electrical stimulus to the destination target, which activates the destination target.