added polymorphic associations to transactions and wallets