Acting as a Financial Analyst, create a budgeting framework for a mid-sized company. The budget should include operating, capital, and cash budgets. Ensure the framework allows for forecasting, variance analysis, and rolling budgets to help the business stay on track throughout the fiscal year. Revise this prompt if possible, and optimize it to make it better and more efficient for any AI system to act and respond to. If possible run your optimized version.