adapted to bitcoinJ 0.9, neo4j-scala 0.2.0