I believe dogs evolved for their jobs. The best you can do is select the right blood for the right job, then breed to repair them back into the animal that evolved to perform that job. Also expose them to that job from a young age, and let them practice and condition themselves mentally and physically for the job. Training should play only a very minor role. If too much training is required you're probably trying to make a dog do something it never evolved to do.