move transaction and bankaccount into their own namespace