wip
Added own walletdb interface for testing