Refactoring services like accounts and transactions