Basic parameter setup and stimulation added.