Added code to forward commands to leader, now need to add tests.