CreditsAccountsService factory class created in place of the closure