Dynamo Design: Its Theory and Practice