added d3 visualization
beam demo
updated tests