App model changed to allow multiple instances. D3 added.