Refactored balances and statuses to be done by dependency injection.