Lib setup and getAllAccounts