Describe the process of preparing a master budget for a manufacturing company, including the steps involved in developing the sales budget, production budget, and cash budget.