Unified resources into one. Added method for counting expenses.