A Theory of Personal Budgeting